package com.eddy.service.impl;

import com.eddy.mapper.UserMapper;
import com.eddy.entity.User;
import com.eddy.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User getUserMessage(String username, String password) {
        return userMapper.getUserMessage(username,password);
    }
}
